﻿<%@ Page Title="Log In" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="forgot.aspx.cs" Inherits="TestApp.Account.Forgot" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Password Recovery
    </h2>
    <p>
		If you have forgotten your password, please enter your email address below and we will send instructions on how to reset it.
    </p>
 
    <span class="failureNotification">
        <asp:Literal ID="FailureText" runat="server"></asp:Literal>
    </span>
    <asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification" 
            ValidationGroup="LoginUserValidationGroup"/>
    <div class="accountInfo">
        <fieldset class="login">
            <legend>Password Recovery</legend>
            <p>
                <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="txEmail">Email address:</asp:Label>
                <asp:TextBox ID="txEmail" runat="server" CssClass="textEntry"></asp:TextBox>
                <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="txEmail" 
                        CssClass="failureNotification" ErrorMessage="Email is required." ToolTip="Email is required." 
                        ValidationGroup="LoginUserValidationGroup">*</asp:RequiredFieldValidator>
            </p>
        </fieldset>
        <p class="submitButton">
            <asp:Button ID="EmailButton" runat="server" CommandName="Login" Text="Recover Password" ValidationGroup="LoginUserValidationGroup" OnClick="EmailButton_Clicked" />
        </p>
	</div>

</asp:Content>
